import request from '@/utils/request'
//Finance/index
export function financeLog(data) {
  return request({
    url:'Finance/index',
    method:'post',
    data
  })
}

export function transactionDetails(data) {
  return request({
    url:'Finance/getOneLog',
    method:'post',
    data
  })
}

//UserMoney/getTodayWithdrawNum

export function todayUse(data) {
  return request({
    url:'UserMoney/getTodayWithdrawNum',
    method:'post',
    data
  })
}

//UserMoney/getUserWithdrawAddress
export function getUserWithdrawAddress(data) {
  return request({
    url:'UserMoney/getUserWithdrawAddress',
    method:'post',
    data
  })
}

//UserMoney/addUserWithdrawAddress
export function addUserWithdrawAddress(data) {
  return request({
    url:'UserMoney/addUserWithdrawAddress',
    method:'post',
    data
  })
}

// UserMoney/runWithdraw
export function runWithdraw(data) {
  return request({
    url:'UserMoney/runWithdraw',
    method:'post',
    data
  })
}

///UserMoney/getRechargeAddress
export function getRechargeAddress(data) {
  return request({
    url:'UserMoney/getRechargeAddress',
    method:'post',
    data
  })
}

export function getOneProjectList(data) {
  return request({
    url:'Project/getOneProjectList',
    method:'post',
    data
  })
}
///Project/getOneProjectList